﻿using System;

namespace ObjectEditor
{
    public class ShowInView : Attribute
    {

    }

    public class Order : Attribute
    {
        public uint OrderValue { get; set; }

        public Order(uint value)
        {
            OrderValue = value;
        }

        public override string ToString()
        {
            return OrderValue.ToString("000000");
        }
    }

    public class Validator : Attribute
    {
        public string ValidatorName { get; set; }

        public Validator(string name)
        {
            ValidatorName = name;
        }
    }

    public class Template : Attribute
    {
        public string Name { get; set; }

        public Template(string name = null)
        {
            Name = name;
        }
    }
}
